//
//  GYPictureBrowserView.h
//  GoodLuck
//
//  Created by apple on 2018/7/3.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^showCurrentImageBlock)(NSInteger currentCellIndex);

@interface GYPictureBrowserView : UIView

/** 显示滑动的图片 */
@property (nonatomic, copy) showCurrentImageBlock showCurrentImageCallBack;

/**
 初始化
 
 @param frame 视图frame
 @param images 需要展示的图片名字数组
 @return return value description
 */
- (instancetype)initWithFrame:(CGRect)frame imageNames:(NSArray *)images imageIndex:(NSInteger)index;

/**
 初始化

 @param frame <#frame description#>
 @param images 所有图片数组
 @param index <#index description#>
 @return <#return value description#>
 */
- (instancetype)initWithFrame:(CGRect)frame images:(NSArray *)images imageIndex:(NSInteger)index;
@end
